package org.edu.modules.center.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.edu.modules.center.entity.VeServiceForumPost;
import org.edu.modules.center.mapper.VeServiceForumPostMapper;
import org.edu.modules.center.service.IVeServiceForumPostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class VeServiceForumPostServiceImpl
        extends ServiceImpl<VeServiceForumPostMapper, VeServiceForumPost>
        implements IVeServiceForumPostService
{
    @Autowired
    private VeServiceForumPostMapper veServiceForumPostMapper;

    public int savePost(VeServiceForumPost veServiceForumPost)
    {
        return this.veServiceForumPostMapper.insert(veServiceForumPost);
    }
}
